Loading...
 

GetDataField(short id, ...)

GetDataField(short id, ...)

void *GetDataField(short id, OBJECTID *type = NULL, short force = FALSE);

Parameters Description
id integer identifier of a slot
type Data type (output)
force Create slot? (input)
  
Return value Description
Pointer Memory address of the slot

In addition to its name, a slot has an internal identifier. When accessing a slot with GetDataField(char *name, ...) the slot dictionary must be used. This is not the case with this function. If the identifier is known, you should always use this function!